﻿using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using _07_WebHost.Host;

namespace _07_WebHost
{
    internal class Program
    {
        static void Main(string[] args)
        {
            var builder = WebApplication.Create();
            builder.Logging.AddConsole();
            var app = builder.Build();
            app.Run(context =>
            {
                Console.WriteLine("not found");
                return Task.CompletedTask;
            });
            app.Run(8080);
        }
    }
}